package cn.hsa.fqz.monitor.dao;

import cn.hsa.fqz.monitor.entity.TMonitorModelDict;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TMonitorModelDictMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TMonitorModelDict record);

    int insertSelective(TMonitorModelDict record);

    TMonitorModelDict selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TMonitorModelDict record);

    int updateByPrimaryKey(TMonitorModelDict record);

    List<TMonitorModelDict> selectByEntityCode(@Param("entityCode")String entityCode);

    List<TMonitorModelDict> selectByEntityCodeAndModelCode(@Param("entityCode")String entityCode,@Param("modelCode")String modelCode);
}